package mapper.marketingMapper;

import entity.marketingEntity.Adlist;
import entity.marketingEntity.AdlistCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdlistMapper {
    List<Adlist> getAdlist(AdlistCondition condition);
    int updateAdlistState(@Param("id") Integer id,@Param("state") Integer state);
    int deleteByPrimaryKey(Integer ad_id);

    int insert(Adlist record);

    int insertSelective(Adlist record);

    Adlist selectByPrimaryKey(Integer ad_id);

    int updateByPrimaryKeySelective(Adlist record);

    int updateByPrimaryKey(Adlist record);
}